<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <ui:page binding="#{CentralMinhasTarefas.page1}" id="page1">
            <ui:html binding="#{CentralMinhasTarefas.html1}" id="html1">
                <ui:head binding="#{CentralMinhasTarefas.head1}" id="head1">
                    <script>
                      function initAllRows() {
                       var table = document.getElementById("form1:table1");
                       table.initAllRows();
                      }
                    </script>
                    <ui:link binding="#{CentralMinhasTarefas.link1}" id="link1" url="/resources/stylesheet.css"/>
                </ui:head>
                <ui:body binding="#{CentralMinhasTarefas.body1}" id="body1" style="-rave-layout: grid">
                    <ui:form binding="#{CentralMinhasTarefas.form1}" id="form1">
                        <div style="height: 98px; left: 0px; top: 0px; position: absolute; width: 762px">
                            <jsp:directive.include file="topo.jspf"/>
                        </div>
                        <div style="height: 458px; left: 0px; top: 104px; position: absolute; width: 206px">
                            <jsp:directive.include file="menu.jspf"/>
                        </div>
                        <div style="height: 38px; left: 0px; top: 560px; position: absolute; width: 762px">
                            <jsp:directive.include file="rodapev.jspf"/>
                        </div>
                        <ui:tabSet binding="#{CentralMinhasTarefas.tabSet1}" id="tabSet1" selected="tab1" style="height: 454px; left: 208px; top: 104px; position: absolute; width: 550px">
                            <ui:tab binding="#{CentralMinhasTarefas.tab1}" id="tab1" text="Minhas">
                                <ui:panelLayout binding="#{CentralMinhasTarefas.layoutPanel1}" id="layoutPanel1" style="border-width: 1px; background-color: rgb(211, 224, 235); border-left-color: rgb(110, 127, 143); border-right-color: rgb(110, 127, 143); border-bottom-color: rgb(110, 127, 143); border-left-style: solid; border-right-style: solid; border-bottom-style: solid; height: 415px; position: relative; width: 549px; -rave-layout: grid">
                                    <ui:button action="#{CentralMinhasTarefas.button2_action}" binding="#{CentralMinhasTarefas.button2}" id="button2"
                                        style="height: 28px; left: 447px; top: 12px; position: absolute; width: 94px" text="Executar"/>
                                    <ui:table augmentTitle="false" binding="#{CentralMinhasTarefas.table1}" id="table1" paginateButton="true"
                                        paginationControls="true" style="height: -16px; left: 8px; top: 44px; position: absolute; width: 534px" title="Tarefas" width="534">
                                        <ui:tableRowGroup binding="#{CentralMinhasTarefas.tableRowGroup1}" id="tableRowGroup1" rows="10"
                                            selected="#{CentralMinhasTarefas.selectedState}" sourceData="#{SessionBean1.listaDataSourceTarefaExecutar}" sourceVar="currentRow">
                                            <ui:tableColumn binding="#{CentralMinhasTarefas.tableColumn1}" id="tableColumn1"
                                                onClick="setTimeout(‘initAllRows()’,0)" selectId="#{CentralMinhasTarefas.radioButton1.id}">
                                                <ui:radioButton binding="#{CentralMinhasTarefas.radioButton1}" id="radioButton1" label=""
                                                    name="#{CentralMinhasTarefas.radioButton1.id}" selected="#{CentralMinhasTarefas.selected}" selectedValue="#{CentralMinhasTarefas.selectedValue}"/>
                                            </ui:tableColumn>
                                            <ui:tableColumn binding="#{CentralMinhasTarefas.tableColumn2}" headerText="Nome" id="tableColumn2">
                                                <ui:staticText binding="#{CentralMinhasTarefas.staticText1}" id="staticText1" text="#{currentRow.value['nome']}"/>
                                            </ui:tableColumn>
                                            <ui:tableColumn binding="#{CentralMinhasTarefas.tableColumn3}" headerText="Projeto" id="tableColumn3">
                                                <ui:staticText binding="#{CentralMinhasTarefas.staticText2}" id="staticText2" text="#{currentRow.value['projeto']}"/>
                                            </ui:tableColumn>
                                            <ui:tableColumn binding="#{CentralMinhasTarefas.tableColumn4}" headerText="Data Fim" id="tableColumn4" sort="previsaoFim">
                                                <ui:staticText binding="#{CentralMinhasTarefas.staticText3}" id="staticText3" text="#{currentRow.value['previsaoFim']}"/>
                                            </ui:tableColumn>
                                            <ui:tableColumn binding="#{CentralMinhasTarefas.tableColumn5}" headerText="%" id="tableColumn5" sort="progressoPercente">
                                                <ui:staticText binding="#{CentralMinhasTarefas.staticText4}" id="staticText4" text="#{currentRow.value['progressoPercente']}"/>
                                            </ui:tableColumn>
                                        </ui:tableRowGroup>
                                    </ui:table>
                                    <ui:alert binding="#{CentralMinhasTarefas.alerta}" id="alerta" style="left: 4px; top: 360px; position: absolute; width: 537px"/>
                                </ui:panelLayout>
                            </ui:tab>
                            <ui:tab binding="#{CentralMinhasTarefas.tab2}" id="tab2" text="Execução">
                                <ui:panelLayout binding="#{CentralMinhasTarefas.layoutPanel2}" id="layoutPanel2" style="border-width: 1px; background-color: rgb(211, 224, 235); border-left-color: rgb(110, 127, 143); border-right-color: rgb(110, 127, 143); border-bottom-color: rgb(110, 127, 143); border-left-style: solid; border-right-style: solid; border-bottom-style: solid; height: 415px; position: relative; width: 549px; -rave-layout: grid">
                                    <ui:label binding="#{CentralMinhasTarefas.lblTarefa}" id="lblTarefa"
                                        style="font-size: 36px; height: 98px; left: 4px; top: 8px; position: absolute; width: 533px" text="#{SessionBean1.tarefaEscolhidaExecutar.nome}"/>
                                    <ui:textField binding="#{CentralMinhasTarefas.txtProgresso}" id="txtProgresso"
                                        style="left: 12px; top: 140px; position: absolute" text="#{SessionBean1.tarefaEscolhidaExecutar.progressoPercente}"/>
                                    <ui:label binding="#{CentralMinhasTarefas.label1}" id="label1" style="left: 12px; top: 120px; position: absolute" text="Informe o progresso atual em %:(0-100)"/>
                                    <ui:button action="#{CentralMinhasTarefas.button1_action}" binding="#{CentralMinhasTarefas.button1}" id="button1"
                                        style="height: 24px; left: 247px; top: 140px; position: absolute; width: 82px" text="Salvar"/>
                                    <ui:alert binding="#{CentralMinhasTarefas.alerta1}" id="alerta1" style="left: 8px; top: 360px; position: absolute; width: 533px"/>
                                    <ui:checkbox binding="#{CentralMinhasTarefas.chkEnviar}" id="chkEnviar"
                                        label="Enviar alerta para lider, informando o progresso." style="left: 12px; top: 172px; position: absolute"/>
                                    <ui:label binding="#{CentralMinhasTarefas.label2}" id="label2" style="left: 16px; top: 200px; position: absolute" text="Escopo:"/>
                                    <ui:textArea binding="#{CentralMinhasTarefas.txtEscopo}" id="txtEscopo" readOnly="true"
                                        style="background-color: rgb(255, 255, 255); height: 120px; left: 12px; top: 224px; position: absolute; width: 528px" text="#{SessionBean1.tarefaEscolhidaExecutar.escopo}"/>
                                </ui:panelLayout>
                            </ui:tab>
                        </ui:tabSet>
                    </ui:form>
                </ui:body>
            </ui:html>
        </ui:page>
    </f:view>
</jsp:root>
